package com.jiazhong.servlet.mapper;

import com.jiazhong.commons.bean.S10User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface S10UserMapper {

    @Select("select * from `user` where state=1 and username=#{username} and password=md5(#{password})")
    S10User login(@Param("username") String username, @Param("password") String password);
}
